Simpler pnl implementation