refactor lewat_mana