added exceptions interface - error fix