changed index to actually be php