refactoring
changing ui using value bindings