A Catholic cathedral in San Francisco installed a watering system in an attempt to soak homeless people who try to loiter and sleep near its doorways, radio station KCBS reported on Wednesday.

Saint Mary’s Cathedral, which, the radio station reported, is the main church within the Archdiocese of San Francisco and the home of the archbishop, has four tall side doors which are used as sheltered nooks by homeless people in the city.

While the church has “No Trespassing” signs, the watering system doesn’t come with a warning and the showers rain down throughout the night, KCBS reported.

The spigot is 30 feet up on the ceiling of the doorway alcove and when it spews water, the alcove and unsuspecting homeless people reportedly get soaked. According to KCBS, the water runs for about 75 seconds every 30-60 minutes.

“We’re going to be wet there all night, so hypothermia, cold, all that other stuff could set in,” a homeless man named Robert told KCBS. “Keeping the church clean, but it could make people sick.”

KCBS reported that the water system doesn’t in fact keep the alcoves clean and in fact pools on the steps and nearby sidewalk since there’s no drainage system installed.

A staff member at the cathedral reportedly told the radio station that the showers were installed about a year ago for the purpose of keeping homeless people away.