Method and apparatus for the alignment of