added q_parse and q_status