updated function name implementation