slight fixes in index and more instructions on add code