Customer constraints function implemented