add calculations