HOW TO SOLVE BLACK MAGIC PROBLEMS