notes for algorithm