further work on part 3
finish 4. started 4