added spell casting