finishing touches to part1 program