moved CONSTANT to top of file