trying to get sockets to work