add fieldsets and variables to forms