use plumbing function