An adaptive assembly line for assembly of a continuous first web to a continuous or discontinuous second web. The assembly line includes a control device. The control devices includes a first camera arranged to take a first picture of the first web before assembly of the first web to the second web. The control device is arranged to use the first picture for determining the position of a first center line in the first web. The control device is arranged to use the first picture for controlling the position of the first web and/or the second web so that the first center line becomes aligned with a second center line comprised in the second web during assembly of the first web to the second web.