Connected the classes