latest code that generates exception