Updated to support socket battle. Being tested.