adding tags to the output streams of mm