improve codes and i am now learning nodejs and socketio