rename functionse and combine functions to select enemy or player races