i think it should be clear where $view comes from