utilized array_slice