lambda method has been converted to static method