moved funcs to match dist step sequence