re-arranging
brings back process.exit