Refactor: moved notes into a view