making sure to do a check for a string when going gets