explicitly define slice