move constant to class