changed both 2 & 3.c