Refactored version: Blue team