bar class can track volume/capcity