Add method "main"