change caculate to calculate