Revert "removed unnecessary functions for further development"

This reverts commit 26be5b864c6edad496229e9d3d03820064661cb4.