previous patch works but this one actually removes the deprecation warning
Merge pull request #7 from sebastianconcept/master

fix previous PR, use contemporary name, remove deprecation warning