added death when near the exit