removed code for testing unhanded exception