initialization loop. 2 more lines, doh.