last part of the function is to return stongstotal so that I can print it to the console