modified hell.c