insert & calculate