removed code which is not exceptions related