nit: use lambda syntax