added "quit option"