implement type_contig_x decoder function