function of min max tracks is ready