added a spell-casting functionality