added calling function for inline class stat calls