adding back deprecated constructor
Merge pull request #463 from opuneet/issue421revisited

adding back deprecated constructor