Aligning the beam