I wish to number the examples as Example 2.1 Example 2.2 and so on. But what I end up with is Example 2.1.1 Example 2.2.1 and so on, Following is the syntax I've used. Can anyone suggest some edit to this to remove the third point in example numbers?
\theoremstyle{definition}
\newtheorem{exmp}{Example}[section]
\begin{exmp}
WE BEGIN BY TAKING THE EXAMPLE OF....
\end{exmp}