- create setter function for current reference
- put speed measurement to getter function