added clear_db