public function for exiting intro