implemented auto-generation of multiple sections
Merge branch 'chris'