Completion of Program 1