add input interface
Merge branch 'master' into gh-pages