Adding upper and lower bound