creating a barrier against water intrusion