Documenting code tracks.py