brute force itertools/prettier history