index template THANKS ALAN NOT