renamed lineNumberRange (array) to commentRange (object) + refactored to use lineNumberFor + fixed some bugs in index function