merging changes to dlebauer/pecan