try catch working, remove error test.