Home
/
Beginner guides
/
Trading basics
/

Guide to oil trading apps in india

Guide to Oil Trading Apps in India

By

Thomas Wright

17 Feb 2026, 12:00 am

Edited By

Thomas Wright

22 minutes reading time

Prelude

Oil trading in India has seen an interesting shift in recent years. With energy markets fluctuating and crude prices swinging, many traders and investors are turning to mobile apps to keep up the pace. These apps bring the commodity market right into your pocket, making it easier to stay informed and execute trades without the typical hassle of traditional brokerage firms.

Whether you're a seasoned trader or someone just trying to understand how commodity markets work, having the right oil trading app can make a significant difference. From live price updates to detailed charts and secure transaction options, these apps offer a variety of tools tailored to different experience levels.

Illustration of digital trading platforms showing commodities and investment analytics

In this guide, we'll go through the basics of oil trading, discuss what features matter most in these apps, and highlight some popular choices available to Indian users. We'll also cover the risks involved and how to manage them effectively. By the end, you should have a clearer picture of how to pick an app that works best for your trading style and investment goals.

"Understanding the nuts and bolts of oil trading platforms isn’t just for experts anymore; with the right app, anyone can step into the market confident and informed."

Let's dive right in and explore how you can make the most of oil trading apps in India's dynamic marketplace.

Understanding Oil Trading and Its Appeal in India

Oil trading, especially through apps, has become quite a buzz in India’s investment scene. This isn't just because oil is a major energy source—it's also a way to diversify portfolios and tap into global economic shifts. For traders and investors, getting a good grip on oil trading helps in spotting opportunities and risks specific to India’s growing energy needs and the often unpredictable oil markets.

Basics of Oil as a Commodity

Global demand and supply factors

Oil, as a commodity, is heavily influenced by global events. Demand surges in fast-growing economies like China and India can push prices up, while oversupply—say from major producers like Saudi Arabia or Russia—can drop prices. For example, when OPEC decides to cut production, it often tightens supply, nudging prices higher. Understanding these shifts helps traders anticipate price moves, making timely trades through apps that update market info in real-time.

Price volatility and its causes

Oil prices don’t like to sit still; they swing widely due to factors like geopolitical tensions (think Middle Eastern conflicts), natural disasters affecting oil infrastructure, and even policy changes like US shale production shifts. For Indian traders, this volatility means there are opportunities to make profits but also risks of sudden losses. Effective oil trading apps offer tools like stop-loss orders and alerts to help manage this rollercoaster.

Why Trade Oil in India?

Growing energy consumption

India’s thirst for energy is only getting stronger, with industries expanding and transportation needs soaring. This growing demand means oil prices are closely watched and actively traded in India, reflecting both domestic consumption patterns and international influences. That makes oil trading a relevant and timely investment option for those following India’s economic growth.

Investment diversification

Putting all eggs in one basket is never wise. Oil trading provides another avenue to spread risk beyond stocks and bonds. Exotic as it might sound, adding oil contracts to your portfolio can balance out downturns in other areas, especially since oil prices often move independently of the stock market. Many savvy Indian investors use oil trading apps to easily access this diversification without needing a separate brokerage.

Accessibility through technology

Just a decade ago, oil trading might have seemed too complex or out of reach for many. But now, with Indian apps like Angel Broking, Zerodha, and international ones like Interactive Brokers, traders can jump into the market from their phones. These apps offer real-time data, analytics, and execute trades in seconds, making oil trading approachable for both newbies and pros. Plus, mobile notifications keep users in the loop even while on the move.

For Indian traders, oil trading apps are opening doors to a market once dominated by large institutions. With the right knowledge and tools, anyone can participate and manage their risk effectively.

In all, understanding the basics of oil as a commodity and the unique aspects of India's market helps traders make smarter choices when selecting and using oil trading apps. Knowing why oil matters and how technology supports trading means you’re better prepared for whatever the market throws your way.

Key Features of Effective Oil Trading Apps

Choosing the right app for trading oil can make a huge difference in your trading success. Effective oil trading apps come with a set of features that not only simplify trading but also help manage risks and seize opportunities as they come. In India, where mobile access is widespread and markets move fast, these features are even more critical.

User Interface and Accessibility

Ease of navigation

A clean, straightforward interface can save you from costly mistakes. Imagine trying to place a quick trade, but the buttons are cluttered or the menu system is confusing. Apps like Zerodha's Kite or Upstox have nailed this by offering simple layouts where traders can easily access the oil trading section, view their portfolio, and place orders without hunting through multiple tabs. Smooth navigation helps you act swiftly, which is crucial when oil prices fluctuate rapidly.

Mobile and desktop compatibility

Not everyone sticks to one device. Some prefer trading on their phone during their commute, while others stick to desktop setups at home or office. Leading apps like Angel Broking and 5Paisa provide seamless experience across both platforms. This flexibility means you won't miss a beat regardless of where you are. Ensuring the app runs smoothly on Android and iOS, as well as Windows and Mac, broadens your options and convenience.

Real-Time Market Data and Analysis Tools

Live prices and news updates

Oil markets are volatile, and prices can swing on geopolitical news or OPEC announcements within minutes. Effective trading apps deliver real-time price feeds and breaking news alerts to keep you in the loop. Consider the MCX Mobile app, which integrates the latest market news alongside live price tickers, helping traders respond to events like sudden production cuts or supply chain disruptions.

Charting and technical indicators

Numbers alone don't tell the whole story. Charts help visualize price trends, patterns, and potential turning points. Apps equipped with multiple technical indicators — like moving averages, RSI (Relative Strength Index), and Bollinger Bands — provide deeper insights into oil price movements. For instance, the Sharekhan app offers these charting tools with customization options, so you can tailor them to your trading style.

Order Types and Trading Options

Spot trading vs futures

Understanding the difference can shape your trading approach. Spot trading lets you buy or sell oil contracts for immediate delivery at current market prices, often used for short-term trades. Futures contracts lock in prices for a future date, useful for hedging or long-term strategies. Apps like Groww provide clear options for both, enabling users to select based on their risk appetite and goals.

Stop-loss and limit orders

These features act as safety nets, preventing large losses during sudden market swings. A stop-loss automatically sells your position when prices drop to a certain level, while limit orders buy or sell at specified prices, even if you're offline. Most competent apps, such as Zerodha, support these order types, giving traders greater control and peace of mind.

Security Measures and Regulatory Compliance

Data protection protocols

In any financial app, especially one dealing with sensitive data and transactions, security is non-negotiable. Encryption of personal data, two-factor authentication (2FA), and secure Socket Layer (SSL) connections are must-haves. Apps like ICICI Direct have robust security protocols, minimizing risks of hacks or data breaches.

Never overlook the security credentials of a trading app — your hard-earned money is at stake.

Adherence to Indian financial regulations

Trading activities fall under strict oversight by bodies like the Securities and Exchange Board of India (SEBI) and the Multi Commodity Exchange (MCX). It's vital to use apps compliant with these regulations, ensuring transparency and legal protection. Verified apps, such as those from national exchanges and SEBI-registered brokers, provide reassurance about legitimacy and adherence to Indian market standards.

In short, when evaluating oil trading apps in India, look out for clear navigation, cross-device support, up-to-the-minute data, smart order options, and airtight security combined with legal compliance. These key features form the backbone of efficient, safe, and successful oil trading in today's fast-paced markets.

Popular Oil Trading Platforms for Indian Users

For anyone diving into oil trading from India, picking the right platform isn’t just about flashy features; it’s about trust, usability, and regulations that fit local needs. Platforms offered by national stock exchanges and independent or international apps each bring something different to the table. Understanding these choices can help you trade smarter, stay compliant, and potentially boost your returns.

Apps Offered by National Stock Exchanges

The platforms launched by Indian national stock exchanges like the Multi Commodity Exchange (MCX) and the National Commodity & Derivatives Exchange (NCDEX) are deeply integrated with local regulations and market practices.

Features and commission structures: These apps often have straightforward commission setups, typically lower than international platforms, which can be a real money saver over time. For instance, MCX's mobile app offers access to real-time prices, commodity news, and easy order placements with a clear fee schedule. This simplicity means novice traders won’t get blindsided by hidden charges, and experienced traders can efficiently manage costs with transparent brokerage details.

Integration with other commodity trading: What sets these apps apart is their seamless integration with other commodities like gold, silver, and agricultural products. Say you're not just betting on oil but want to swing between different commodities depending on market conditions — apps from MCX or NCDEX allow you to switch gears without juggling multiple platforms, making your trading experience smoother and more organized.

Independent and International Trading Apps

Stepping outside national exchanges, you'll find apps like Upstox and Zerodha on the independent Indian front, and global giants like Interactive Brokers catering to international traders.

Mobile screen displaying oil trading app interface with charts and market data

Global reach and availability: Independent and international apps offer the advantage of wider market access. Platforms like Interactive Brokers give Indian traders the chance to tap global oil markets beyond Indian regulations, including futures and options on Brent Crude or West Texas Intermediate (WTI). This global access is a boon for those wanting to diversify or hedge risks more broadly.

Specialized tools for oil markets: Many international platforms come packed with advanced analysis tools tailored for oil traders. For example, TradingView integrated into some apps offers sophisticated charting, layering of technical indicators, and even news sentiment analysis — crucial for oil where geopolitical shifts heavily influence price. This kind of specialized toolkit can give traders an edge when timing trades or spotting market trends.

Choosing the right oil trading platform boils down to your goals: stick with national exchange apps for local compliance and lower costs, or consider independent/international apps if you need more complex tools and global market access.

Each type of platform serves distinct purposes, and savvy traders often use a mix depending on their strategy.

Starting with an Oil Trading App: Step-by-Step

Getting started with an oil trading app is a critical phase for anyone looking to tap into India's growing commodity market. It might look straightforward but missing a step can lead to unnecessary hassles or even losses. Whether you’re a seasoned trader or just beginning, understanding each part of the process ensures you’re not fumbling in the dark.

Starting with the basics – setting up your account – is more than just filling out a form. It lays the foundation for everything else, from secure trades to smooth transactions. A clear setup process also helps you comply with India’s regulatory standards, giving you confidence that your investments are on proper ground. After that comes funding your account and placing your first trade, both steps where practical know-how makes a difference.

Setting Up an Account

Documentation required

Before diving into oil trading, the app will ask for certain documents to verify your identity and residency. Typically, these include your PAN card, Aadhaar card, a canceled cheque for bank verification, and sometimes proof of income or address like a utility bill or bank statement.

This documentation ensures compliance with the Securities and Exchange Board of India (SEBI) and Multi Commodity Exchange (MCX) rules, which exist to fend off fraud and money laundering. Without these papers, your account setup won’t progress, so it's best to have digital copies handy. Many platforms allow you to upload photos directly from your phone, making the process relatively painless.

Verification process

Once documents are uploaded, the app goes through a verification process. This usually happens within 24 to 48 hours but can sometimes be quicker with apps like Zerodha or Upstox that have invested heavily in automation and KYC (Know Your Customer) tech.

During verification, your documents are cross-checked against government databases, and you might have to do a video KYC or respond to a quick phone call. A smooth and speedy verification means you can start trading faster without headaches down the line.

Tip: Keep an eye on your email or app notifications for any follow-up requests – slow answers here will delay your account activation.

Funding Your Trading Account

Payment methods in India

Adding funds to your trading account has become easier with integrated banking and payment gateways. Most apps accept UPI payments, net banking, debit cards, and sometimes even wallets like Paytm or Google Pay.

UPI is growing popular due to its speed and minimal transaction fees. For instance, PayTM Money and Groww are keen on offering quick UPI deposits that settle instantly, helping traders react quickly to market moves without funding delays.

Make sure to link your bank account properly and confirm that your payment method aligns with the app’s terms to avoid failed transactions.

Minimum deposit requirements

This varies by platform and type of contract but expect a minimum deposit between ₹5,000 and ₹25,000 for oil trading accounts. Apps like Angel One have reasonably low entry points, appealing to smaller investors, while institutional platforms might require larger deposits.

Knowing these limits beforehand helps you plan your initial capital allocation wisely. It’s not just about meeting the minimum – think about how much you’re comfortable risking initially since oil markets can be volatile.

Placing Your First Trade

Choosing the right contract

Oil trading apps typically offer spot contracts and futures contracts. Spot trades allow you to buy and sell the commodity at the current market rate instantly, suitable for short-term takes or smaller investments.

Futures contracts bind you to buy or sell oil at a specific price on a future date, often preferred by serious traders hedging against price swings. Popular contracts on Indian platforms include Brent crude futures and MCX crude oil futures.

Review the contract specifications carefully — pay attention to lot size, expiry date, and margin requirements — to avoid surprises.

Executing and monitoring trades

Once you've picked a contract, placing the order should be straightforward on most apps. You’ll usually have options for market or limit orders, stop-loss, and take-profit instructions. These tools help manage risks by automatically closing your position when prices hit your set levels.

After placing your order, monitor the trade with the app’s dashboard. Real-time price alerts and charting tools become valuable, especially in a commodity like oil, which can swing wildly due to geopolitical events or OPEC announcements.

To keep losses in check, update your stop-loss and be ready to tweak your trades as the market changes. Apps like Zerodha's Kite interface make this process intuitive, even for beginners.

Starting with an oil trading app isn’t just about access – it’s a carefully managed process that builds your trading foundation securely and efficiently. With the right approach, you’ll navigate the setup, funding, and trading steps smoothly, setting yourself up for better success in the oil markets.

Strategies for Trading Oil Using Apps

When it comes to oil trading, having a solid strategy isn't just a nice-to-have—it's a must. Apps make trading more accessible, but without a clear method, you might as well be tossing coins. Strategy helps you make sense of the fluctuations, seize opportunities, and keep losses in check. Whether you’re watching charts or news feeds, understanding how to read the signals and react is key to staying ahead.

Technical Analysis and Indicators

Common technical indicators for oil prices

Technical indicators act like a compass, guiding traders through the often murky waters of oil price movements. Popular indicators for oil trading include moving averages (like the 50-day and 200-day), Relative Strength Index (RSI), and Bollinger Bands. For example, moving averages smooth out price action, helping spot trends and reversals. If the price crosses above the 50-day moving average, some traders see it as a bullish signal.

RSI measures momentum, showing if an asset is overbought or oversold. An RSI above 70 often warns traders the price might soon pull back, while below 30 could mean a buying opportunity. Bollinger Bands provide a range around a moving average, and when prices touch the upper band, it might indicate overextension.

Using app tools effectively

Most oil trading apps come packed with these tools, but knowing how to use them is half the battle. Take the Zerodha Kite app, for instance; it allows you to customize charts with indicators, set alerts, and even overlay different timeframes.

Start simple. Pick a couple of indicators and watch how price reacts around key levels. Set up notifications so you’re alerted when price hits your stop-loss or target. This not only saves time but also helps avoid emotional decisions rushed during sudden market swings. Remember, no indicator is perfect—combine them with other info to build a robust strategy.

Fundamental Factors to Watch

Geopolitical events

Oil prices can swing wildly on the news. Conflicts in the Middle East, sanctions on oil exporters like Iran or Venezuela, or tensions in the South China Sea often trigger sharp price changes. For example, a sudden disruption in supply lines can cause prices to spike overnight.

Keep an eye on trusted news sources and use apps that offer real-time news feeds, such as Upstox or 5paisa. Understanding the context behind price moves lets you avoid panic selling or hasty buys.

OPEC decisions and production changes

OPEC's announcements can move markets like clockwork. If the group decides to cut production, oil supply shrinks, pushing prices higher. Conversely, a production boost often drags prices down.

You can track scheduled OPEC meetings and press releases. Trading apps with calendar features or news tickers can help you anticipate these events. Also, watch for rumors or leaks, which can stir markets even before official news.

Managing Risk in Oil Trading

Setting stop-loss orders

Stop-loss orders are your safety net—they automatically exit a trade if the price moves against you beyond a set point. This is crucial, especially given oil’s volatility.

Let’s say you buy a futures contract on crude oil at ₹5,000 per barrel anticipating a rise. Setting a stop-loss at ₹4,800 limits your loss to ₹200 per barrel if prices fall. Most trading apps like Angel Broking and ICICI Direct allow you to set these orders easily while placing your trade.

Diversifying your portfolio

Don't put all eggs in one basket, as they say. Even if you’re bullish on oil, it helps to spread your investments across different commodities or asset classes.

For example, mixing oil trading with gold or agriculture commodities can cushion losses if oil prices take a hit. Many apps let you trade multiple commodities under one account, making diversification straightforward.

Smart oil trading is about combining sharp technical skills with keen awareness of global factors and staying nimble to manage risks. Apps are tools—your strategy turns them into an advantage.

Common Challenges and How to Overcome Them

Trading oil through mobile apps offers convenience but also presents some hurdles that traders in India should be ready to face. Understanding these challenges is key to navigating the market more confidently and preventing unnecessary losses. This section highlights common issues traders encounter — like market volatility and app glitches — and offers concrete tips to manage or sidestep them.

Market Volatility and Price Uncertainty

Oil prices are notorious for their wild swings, often reacting sharply to geopolitical news, production cuts, or even unexpected weather events. For instance, when a major oil-producing country suddenly announces a cut in output, prices can spike in minutes. These instant moves can catch traders off guard, especially if they’re relying solely on everyday apps without real-time alerts.

Reacting to sudden price swings means staying alert without letting fear or excitement drive your decisions. Tools available on apps like ICICI Direct and Zerodha Kite, such as live quote alerts and price movement notifications, can be lifesavers. They help you act quickly but calmly. For example, setting smart stop-loss orders in advance can close a position automatically if prices fall beyond a certain point, saving your capital from bigger hits.

Avoiding emotional trading is equally important during volatile periods. It’s easy to be lured into chasing a sudden price jump or panic-selling when markets dive. Successful traders keep a clear head by sticking to their trading plans and not letting every market blip dictate their moves. Apps with built-in risk management features, like expo$$ure limits or demo trading modes on platforms such as Angel Broking, let you practice discipline without risking real money.

Technical Difficulties with Apps

While apps make oil trading accessible, technical glitches can throw a wrench in your plans. Slow internet or a sudden app crash can cost you precious time and money.

Troubleshooting connectivity issues starts with ensuring you have a reliable internet source. Many traders in India switch between mobile data and Wi-Fi depending on stability, but it helps to check network speed and perform app updates regularly. Clearing app cache or reinstalling the app might help fix minor glitches too. For example, if you notice your price feeds freezing on the NSE app, a quick restart or switching to a different network might be the fix.

Customer support and resources are a trader’s safety net when technical problems occur. Apps like Upstox and 5paisa often offer 24/7 chat support and FAQs that address common issues. Before picking a platform, it’s smart to test their support by asking simple questions or browsing through their help sections. Prompt and knowledgeable customer service can make a huge difference, especially if you need urgent help during market hours.

Keep in mind: Even the best oil trading app isn’t foolproof. Being proactive about challenges and knowing how to react is what separates successful traders from those who get caught off guard.

By preparing for these common pitfalls with practical measures, traders in India can focus on making smarter, measured trades without being tripped up by unexpected hurdles.

Legal and Tax Considerations for Indian Traders

Navigating the legal and tax landscape is essential for anyone trading oil commodities in India. Without understanding these aspects, traders risk penalties, fines, or even losing their investment due to non-compliance. This section focuses on how regulatory bodies oversee commodity trading and what tax responsibilities traders must bear. Getting these right helps traders avoid surprises and ensures that their trading activities are above board.

Regulatory Environment for Commodity Trading

Role of SEBI and

In India, the Securities and Exchange Board of India (SEBI) and the Multi Commodity Exchange of India Ltd (MCX) play major roles in regulating oil trading. SEBI is the watchdog that oversees the securities market, including commodity derivatives, while MCX serves as one of the main platforms where oil futures contracts are traded.

SEBI ensures that trading platforms meet strict standards to protect investor interests, prevent fraud, and maintain market integrity. Meanwhile, MCX provides a transparent and regulated marketplace with daily limits on price movements to curb excessive volatility. This dual system means traders have safeguards but must abide by specific rules, such as ensuring all trades are executed on registered exchanges.

For practical purposes, traders should verify that their chosen oil trading app or broker is registered with SEBI and operates with MCX or other recognized exchanges. This reduces risks of scams and gives traders access to a wide range of compliance-backed tools and market data.

Compliance Requirements

Compliance with regulations means following detailed procedures for account verification, trade reporting, and transaction limits. Before trading, Indian traders must complete the KYC (Know Your Customer) process, submitting identity proof and financial details. This step is mandatory to curb money laundering and fraudulent activities.

Additionally, traders are bound by rules limiting insider trading, front-running, or manipulation of prices. Software updates and platform audits are often part of compliance to reduce technological vulnerabilities. For example, apps must protect user data with encryption and implement strict login controls.

A trader who neglects compliance might face freezing of accounts or suspension from trading platforms. Therefore, staying informed about regulatory updates and maintaining transparent records is crucial for smooth trading.

Understanding Tax Implications

Capital Gains Tax Basics

Profits made from trading oil contracts are considered capital gains under Indian tax law. Depending on the holding period, gains are classified as short-term or long-term, with short-term generally applying to trades held less than 36 months.

Short-term capital gains on commodity trading are taxed as per the individual's slab rates, which can be as high as 30% plus cess. Unlike equity shares, there is no benefit of a lower flat tax rate for commodity trades, so traders should factor this into their profit calculations.

For example, if a trader makes ₹1,00,000 profit from oil futures in a month, this amount is added to their taxable income and taxed accordingly. Since these trades are frequent, many traders fall into the short-term category and need to budget for the higher tax burden.

Reporting Income from Trading

Accurate reporting of trading income is essential to avoid legal troubles. India’s Income Tax Department expects detailed disclosures in the annual tax returns, including profits and losses from commodity trades.

Traders must maintain records like contract notes, bank statements, and profit & loss statements issued by their trading platforms. These documents back the numbers declared in tax filings and can be necessary during assessments.

Some traders opt to declare trading gains under the "Income from Business or Profession" category using the presumptive taxation scheme if their turnover is below a threshold. This is particularly helpful for those doing active trading and looking for simpler tax calculations.

Remember: Avoid underreporting any earning from oil trading apps, as the authorities have strengthened mechanisms to track digital transactions and enforce compliance rigorously.

By staying up to date with legal and tax norms, oil traders in India safeguard their investment returns and sustain their market activities without unexpected interruptions or penalties.

Tips for Choosing the Right Oil Trading App

Picking the right oil trading app can feel like finding a needle in a haystack, but it’s worth the effort. The right app can make all the difference between smooth trading and a headache-filled experience. You want something that fits your needs, whether you’re a beginner or a seasoned trader. Let’s break down the main things to look out for so you can make an informed choice without getting tripped up by hidden pitfalls or unnecessary fees.

Evaluating Fees and Charges

Commission rates are often the first thing traders notice. These are the fees you pay every time you buy or sell oil contracts. For example, if you use an app like Zerodha or Upstox, their commission rates are competitively low compared to some smaller platforms that might charge heavier commissions on futures contracts. High commission fees can eat away at your profits quickly, especially if you're an active trader.

Many apps display their commission structure openly, but it’s wise to double-check how these fees apply. Do they charge a flat fee per trade, or is it a percentage of your trade value? Understanding this helps you calculate your break-even points more realistically.

Hidden costs to watch for are trickier. Some apps might seem affordable upfront but sneak in charges like withdrawal fees, inactivity fees, or data feed charges. Take an example: Some platforms charge extra for real-time market data beyond a basic streaming, which could catch you off guard if you rely heavily on live updates.

Also, watch out for currency conversion fees if you’re trading through international apps like Interactive Brokers. These small fees can add up if you trade frequently. Always read the fine print or ask customer service to clarify any unclear charges.

Assessing Customer Support and User Feedback

When things go south – and it happens – having responsive support is essential. Imagine you place a trade, and the app freezes or disconnects right then. If customer support takes three days to reply, you could lose out big time. A good app generally offers multiple support channels: chat, phone, email, and some even provide quick troubleshooting guides within the app.

For instance, apps like Angel One have reputations for responsive helplines that traders praise for quick problem resolution. That kind of support can be a lifesaver, whether you need help with fund transfers or understanding app functionalities.

Checking reviews and ratings gives you a realistic picture of what to expect. Don’t just rely on star ratings alone; read through both positive and negative reviews to spot patterns. If several users mention frequent crashes or delayed order executions, take that seriously.

User forums and trusted review sites can provide insights about app reliability and updates. For example, a recurring complaint about poor UI can indicate the app may not be intuitive or user-friendly, an important factor when seconds count in volatile markets.

Always remember: the best oil trading app is not necessarily the busiest or the flashiest but the one that balances cost, functionality, and support in a way that works for your trading style.

By carefully evaluating fees and charges along with support quality and user feedback, you stand a better chance of picking an app that serves you well without unnecessary surprises. After all, smooth trading comes down to having a tool that fits you like a glove rather than a one-size-fits-all solution gone wrong.