Adding value to index