started document/view pattern