pass in arguments to constructor to init function
Merge pull request #7 from jakecraige/init-fix

pass in arguments to constructor to init function