ending value must be numerical value