starting to get sockets working