Edited socket.emit call to account for speed calcs