add //restore_dosage<<pattern;