Reworking of tagger with functions stable and working