added very little functions to the database