more networking stuff. validation