Revert "new function"

This reverts commit bdac36973c97035bc354adec0aa2559e266f59c9.