working on linear priors