updated to not need custom propertywidget class.