added missing php parts