Added 'state' as an optional parameter
Merge pull request #7 from dansensei/patch-3

Added 'state' as an optional parameter