move displayWidget comment into prototype