update docs
add test for preserving value of variables
comment on usage of do.call
oops