changed Widget data member initialization to in-class