replace misnamed fn