use new helpers api. avoids deprecation warning.
Merge pull request #6 from dferber90/master

Use current helpers API to avoid deprecation warnings.