add getTags method