whoa do/while. don't think i've seen that in js before.