theClass added to db