Added spell function with argument