Why use a lambda here?