fix comparisons, document stepper timer calculation