simpler way to create widgets from nested fragments