refactored most widgets to take ofParameter