Changed library() to require()