adding the attack method back in