made changes to function name