Revert "Revert "add  some  methods""

This reverts commit 12a36ef06fb10fa0af93538d7fcb20fac98358a2.