now takes structure from moodle sections