the purpose of this anonymous function is not easy to understand. You should either add a comment or put this function in a local variable with a descriptive name. The latter is preferred as the waterfall sequence would be easier to read