renamed method; and replaced lambda with method handle