changes to DBHelper, got rid of estimate