argh, hours tracking down single typo, << instead of < in a for loop *sigh*