adding to the database