a lot of inlining matrix