added library calls to necessary fxns in vignette