beginning of 3.c, lab4