quick hack for magic