Documentation updated with new  function