Code now shared between Bar and Rounded views