lf is not a function