added functionality for sending the laser over the network