got exit working