add comment for serializing remoteCommand