added quit command to prototype