Worked on Main and Prog Scanner