add constant class