removed extra exit