sending initial data via socket and whitespace changes