Made indexes numbering from 1.