adding my function, same as other branch

Please accept!