Added mean socket and mean comments