refactored to allow multiple tracks in the playground screen