enemies creating refactoring