changed as per http://arduino.cc/forum/index.php/topic,146750.0.html