Added support for slice