Modify view and define dependency