encountering exceptions