More debugging and attempts to replicate results.
changes that didnt go through in the last commit.