removed Prog, added some comments