added orientation to bars