exit(0) instead of exit(1)