add widget class