adding bar example