use exit status instead