can we use the shorter lambda syntax here?