added support of multiple catch blocks