all methods of main_database implemented