add class with constants