First version of the widget