Use a banned list rather than an allowed list; vastly simplified code