inlining function call