some magic happened and the homework was done