Adding self-defined widgets to HUG