-Changed sock to socket globally