working with slices
formatting