HX matrix, maybe wrong