added server.go to receive data