adding constraints mapping