changes for db clases