working demo of step type + dostep