Revert "Revert "some functions""

This reverts commit cee74a1a9bfbe4d8a6ca6bb6f11f773c0c384ae4.
function fetch parameter