new advanced calculation algorithm added