Fixed the beam stuff!