solution matrix