event constrains