adding bar element configuration