added param to remote functions
Merge https://github.com/YananJian/DS_RMI