Revert "new function"

This reverts commit 5f7c22e724cc4c844f70badf7f67e8ab43f5d55c.