why not just a nil check instead of 0?