added finally to try