improved functionality of the widgets