change in ghosts.c