smart exit