removed prints and test_db