do not use ``slice`` as it is a reserved word