add sample and modified index.php