clean up of speedmeter example