all of a sudden i had only taken maybe just over 200 steps the flashlight is going off and on. i am thinking this is not good.

How would the previous sentence be correctly capitalized?
All of a sudden I had only taken maybe just over 200 steps the flashlight is going off and on. I am thinking this is not good.