Getting and storing tags