tag and an extract function from rezza