adding php structure