draft of remote_tail