Adding updated firstattempt and test_sql