added section on priors
merged in Peters additions