fixing outdated function name reference