add display of number of steps.
improved examples (in tests).