add getSteps method