removed xml stuff. added open sockets