function name was inconsistent