updated qual coding