added slice channel util and tests