Added indexes for rows