added typedef for mana