refactoring valueWidgets #2