added inverse mapping to Tag