almost finished adding sorcery, weird error