adding class to factory