Forgot to add the console log. adding it now and then trying out the equation.