Massive iteration...now working