added realm call and spell class