Changed not label to use zero-indexing.