lab 3, 2.c finished