tags & stream implementation