5.0 - add widgetVar to widget constructor