Added quit feature