Added in set_tags method to keep code dry