improved get_tracks()