added vignette, slight change to one fxn to fix output