adding and removing sources from notes works, but need refactoring.