added the function to the script.js in the Functionals Personal folder