added yet one more checker function