pre-practise for socket.io.