broken code running experiments. to use for later reference.