need to implement buffering bar import