Added slice casting function