modified notes view following the new structure