minor changes in beams class