add value class spec and class tag