changed int to object as fix for issue #22
 changed int to object as fix for issue #22
Merge pull request #23 from punjabisoul/master

Fix for issue #22