lab 3 in progress - fixed some exception issues