modified the index template a little.