added exceptions example