created empty main
changed main to be CATCH-ready
added catch