the entities + table object should probably have the same name here.