Main methode structure