removed php logic from future index file as suggested on class