added fields to append string in reg