select_steps function

Select steps