encapsulate tailing in the tailer