Deleted test code from main program.