making function declarations safe for magnification