Took out most print statements, last memory dump still prints twice