Adding ability to draw distance from prior