added names to dynamic bar