Added a variable to reduce socket output