adding dividers to borders