Since the `coord` and `when` are always the same length, you can get them both and then only have 1 for loop to iterate them,