little more work for the database handling.