add options

fix #1
close #1