added all constraints