populating-next-right-pointer