changed yield to string and fixed lookup for pc/sn (wasn't using '  0')