first version of the widget