add ad-hoc networking stuff