Effect of monomer functional groups on the composition of some three component random phenolic copolymers