hooks and view modified