we must divide intead of substract
corrected math problem