remove dead code
added notes