quit using stat = 0