added new function to documentation