battleing and repitition rule