change from class to instance
Merge pull request #3 from griffithac/master

change from class to instance