start of a refactor for unit spawning