added dynamic bar widths