why are you defining this every time that setRange is set? Why isn't this just a method on the class that references `this.stepSize` and whatnot?

Also, `.toInt` instead of `parseInt` please. If not that, then at least specify the radix.