attempt at change in reading in the string