A number of materials with the composition Li1+xNiαMnβCoγM′δO2−zFz (M′=Mg,Zn,Al,Ga,B,Zr,Ti) for use with rechargeable batteries, wherein x is between about 0 and 0.3, α is between about 0.2 and 0.6, β is between about 0.2 and 0.6, γ is between about 0 and 0.3, δ is between about 0 and 0.15, and z is between about 0 and 0.2. Adding the above metal and fluorine dopants affects capacity, impedance, and stability of the layered oxide structure during electrochemical cycling. Another aspect of the invention includes materials with the composition Li1+xNiαCoβMnγM′δOyFz (M′=Mg,Zn,Al,Ga,B,Zr,Ti), where the x is between 0 and 0.2, the α between 0 and 1, the β between 0 and 1, the γ between 0 and 2, the δ between about 0 and about 0.2, the y is between 2 and 4, and the z is between 0 and 0.5.