some operation validations