cleaned up datanode.go