index.pl basic structure