Adding with index example