# Problems page

The three top-most mistakes when extracting a method are:

- The selection does not cover statements or an expression from a method body.
- The selection does not cover a whole set of statements or an expression.

You can use the Edit > Expand Selection To actions to expand an selection to a valid expression or set of statements.

On the problems pages, you can press F1 to link to a detailed description of errors.