connected the create/add a class sections to the php.