pausing and quiting