changed permit to slice