Initial attempt at spells; crashes on rendering