More working with the database