How to make odometer reading

You could just do this rather than fiddle with casting and references: