trying combine the calculation program