start of new length/index api (to fix the problems with the old way)
new (not buggy) rplinfo API