enemy refactoring 7