how are you guys

i have question :

Write a method that accepts an array of integers and returns the smallest value in the list. 

i have error in my code , what's the problem?

```
package homework;

```

public class Question44 {

```
public static void main(String[] args) {

    int[] numbers = {1, 2, 3, 4, 5};

    System.out.println(min);
}

public static int smallestNumber(int numbers[]) {

    int min = numbers[0];
    for (int i = 0; i < numbers.length; i++) {
        if (min > numbers[i]) {
            min = numbers[i];
        }
    }
    return min;
}

```

}