set steps using globals