using packages propperly
added maxLinks option