tail program implemented