generator but still brute-force