Documentation for new function