added _real_class