removed quit method