took out commented out communication code; only parsing code and main