started work on spellbook implementation