In order to log the state of the Stepper, a struct for the stepper state and a getter has been created.