create the index page in an ugly way