main completo