Used to be in a lambda. Since this is now a separate function, I agree this should be formatted as such.