added support for ->widget, ->widget->widget