add populate next right
add populate next right 2 python version