Fixing rookie mistake.  q is a string