added graph
added value support to sockets