basic mana logic