added basic mechanics for mana