default idx as 1000