Revert "added method"

This reverts commit 6b05434f49483011f2170213ae2738d63aab665e.
Revert "Revert "added method""

This reverts commit 59c88442d915585407d4cc1d5c3b61bec7f1232d.