added exceptions to views