updated getTags method signature