moved finally clause