removed newsocket call