refactoring (now ~ is data bind)