Edit: beam.py