modified index file

@maizaied please review