removed unnecessary exception block