add sprinkler functions