full working example of bar going all the way