added notes

notes for program flow