modified index.ph