child like behaviour for the widget