added notes and test