add socket and comment