private help methods added to main_database.cc