Okay, it wasn't too bad. Simple fix to iterative fact.