add static member function to from use in inline function
