changed to 0 to N-1