Revert "add some functions"

This reverts commit 2aeb9241ac1f08ff3f8ba14dc7b76305997c5bbe.