putting params back in for doc generation