version 2 edited in index.php