adding index to undetermined reads