store sub-slicing in a separate file