Function of thick gastric mucosa is ?