a bit more clear coords logic in the tracking loop