use library() instead of require() to load packages; quote package names to load