simplified calculation