added slice class