dynamic dual matrix structure