made socket work