cleanup unneeded variables. Tracking positions.