added a function to handle phillips data