load_by_class working