change exit to 0