add some magic