Better way to get track ids.