got the widget working on index