vignettes belong in the vignettes directory
fully pass R CMD check, except for that one annoying test case that I commented out
get order of arguments correct
getting rid of all the previous version of the code. just leaving it as comments is sloppy.
index variable never used
changing argument order