more work on making the structure for representing priors sensible