add printing information about quit