updates to finish the initial round of php testing