added documentation for generate section