Added exit(0)