you can make this a generator and remove the `[` and `]`