rename to idx
add mode list
tada