That loop is sort of stupid.