modification of 3.c