Initial work on Program 3