added criteria to operation check