Changed input rows so that they all receive unique ids

bit of a cludge that does not naturally work for extra code but it will
have to suffice for now