Montolivo: 'We can learn from defeat'