change to non static method
Revert "change to non static method"

This reverts commit a7da85e999d44fa12c29ec7d4af4cb8bcf818fc2.