_barItems can be replaced with a local variable.