try catch, change to simpletree