added spendMana