handles basic params.
Merge pull request #2 from birkin/master

handles basic params.