made the mac sockets more efficient