code for adding a widget to another is now all within "add" method and not in the constructors anymore