added extraction into slices again