add class as a constant