added process exits