using the main class method and the static statement