add function to calculate the ultimate question