Revert "Added function"

This reverts commit 77e56b507791b13b4cc7f8380500bc4456018af2.