added cursor option for testing spells