Add slice utility