constraints mod