global for detecting last question