non static socket stuff now