TBB function - inl file for generate