add support for QUIT