also it needs to compare against 0, not eos