adding expect exceptions