add and create class