Another attempt at tracking id function...