further work on lab 3...