add expr check into method