example updated; undefined options fix