forgot to pass in socket