lab4, 1.c done