Put in magine function and basic parser