added comment to the return function