added try - except - else - finally exception handling procedures