removed socket as unnecessary