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.