rename function (remove loop order in function name)