made generic input the default case
Merge pull request #4 from ianstormtaylor/default

made generic input the default case