refactoring alliance task