modified quitting procedure