adding exception usage