implemented beam in effect!