added vignettes functions