attempting to make it work with a much larger and less well formatted collection of tracks. fixed (worked around) the integer conversion issue