better internals docs, test cursor