added new function
Merge pull request #4 from marius-rizac/new_tools

added new function