main methode created