changed lower bound to 1 instead of 0