Why is limit -1 instead of 0?