changed into object kyle's fix, connected, formatted output, printed different lines for different outcomes of each reaction