Implemented bar filling