improve inlining