Condense the parseQuestion code