isCheck method added