non static and static function
Revert "none static function"

This reverts commit 7609659080b0519ded6bd295281a9016265580a1.