broke out connect_db