Revert "add newFunc"

This reverts commit f36acc742742fd8dc7e2e6abde3a3a0a4a885a95.