pulled out constants from battle