why not use exit 1 here?