New way of calculation