Use piping to avoid local variable