finalized the bar