phase1: support creating tags on demand