This function is not freezing the scope (closure) and is being used more than once, those are usually good reasons to switch to a named function rather than an anonymous one (in this case a private method of the class).