working on the database half of the project.