Added constraints in the model