implement interpret.tag for tag-like feature