working kd sample