Added speed output to the example.