refactor notes_list to notes_index