I just tested my calculation with an alert function to see if it worked and it does.