some doc in the code in index.php