engine.field -> engine->field in extracted function.  Some typos