support adding tracks and a loop indicator