Added getAttacks method