performance improvement (inlining)