making sure we get the right data back out of strings