Revert "add some function"

This reverts commit a555be782af710604fb51475de86122925e67e49.