updated static factory method
Merge pull request #1 from oreillyross/testing

updated static factory method