small refactoring of function name