refactor view objects