added reference from branch and leaf models to their views