exit(0) if successful