updated sample to show different steps