Revert "update"

This reverts commit aea184f8054f295e607937181b2e947b10b683ca.
Revert aea184f..eca114f

This rolls back to commit aea184f8054f295e607937181b2e947b10b683ca.
removed unused function