add preview option

addresses issue #2