Revert "updated functions"

This reverts commit c48ac7720a823fc92ec07b2ac0c14e4244557792.