Added new constructor
Merge pull request #23 from tkojdecki/patch-5

Added new constructor