Revert "add function"

This reverts commit 8f6f5fa8785cee278915a00f016c6353c297cdf0.