Make long function calls run over more lines
Add broadcast method
Replace code with calls to broadcast method