added new function
Merge pull request #2 from marius-rizac/tools-new

added new function