One of the functions of electrode coating is