some plumbing for modeling