Replaced lambda calls with '->'