Edited out lines of code so that program will progress to final stage