some stuff for the node server.