resolve command to calculate.