Begining of implementation of remote related function.