commented out socket stuff