getting no class def error