added view for tpn calculation