A tanning agent is used for: