control flow & functions notes / labs