more work on tag reference.