add restrict_options
Merge pull request #45 from Phil-Friderici/restrict_options

add parameterized restrict options