adds notes, removes duplicated TODOs