added IsContinue method