merge of joy
arrays are back
added parse_qual