added setTrack option