Add track logic.