pulled out constants from Mine