Adds phi dates and ids