added op check