replace placeholder with function name