adding socket crap