added notes to method