Not just step 2, step one is to gain a clear understanding of user needs, different use cases, possible flows...
If you have no idea what you want to do you are just "vibe" designing and coding.
Starting with gathering information doesn't mean you can't have an iterative process, where you gain a better understanding with each cycle.