ending value must be greater than zero