added calculation