regeneration of doc