add outside exit