Listed the parameters in the function first and added notes to document.