add index to rrot