added requirement in index.php