finds the database more reasonably