Revert "added function"

This reverts commit 6f9b84b630dd46b563cee07f489baf8a903b59f8.