Change code for bars.