Added Constraints
Refined the constraints