adding in comments for sockets