Rewrote using tracker as an example