renamed the function name