fixed notes in new algorithm