`select()` is hard