updated and restored analogue-bar example