MagicBox Finish
finishMainFunc