Changed example file and vignette accordingly