Refactoring alliance task