pre-inlining