use class variables for bar and item names