magFunctions
