chagne the code responding to the function name change