now for both the widgets