Change lambda into method reference