Hmm, I think that "onStepChanged()" would be the name of a function that is called when the step changes (the listener function).  That's not the role of this function. The role of this function  (I think) is to **supply** that listener function.