divide bar or items