subbars function

Substitute Bars