add comments for lambda functions