Spain's Joaquim Rodriguez has won the 17th stage of the Giro d'Italia from Falzes to Cortina d'Ampezzo.
The 33-year-old Team Katusha rider recorded his second stage success and will wear the leader's pink jersey for a seventh day on Thursday.
Mark Cavendish finished safely within the time limit and holds on to the red points jersey by a single point.
Rodriguez, who outsprinted a group of six riders to win, leads Ryder Hesjedal in the overall standings by 30 seconds.
The 18th stage on Thursday is a 149km route from San Vito di Cadore to Vedelago.
The Giro ends on Sunday in Milan.
1. Joaquim Rodriguez (Esp/Katusha)
2. Ryder Hesjedal (Can/Garmin) at 30 secs
3. Ivan Basso (Ita/Liquigas-Cannondale) at 1 min 22 secs
4. Michele Scarponi (Ita/Lampre) at 1 min 36 secs
5. Rigoberto Uran (Clb/Sky) at 2 min 56 secs