Fix second index example to match the actual code and improve readbility