SampleData and get_tags functions