committing the database would be nice