change the materials of the bar