What was one of the challenges faced by the Union during the battle?