inline lambda here as well.