changed typo: exitProf to exitProg