857 extend order customers lena

Extract this inline function into a function expression