Added exit to the grid