Can this be moved into the `for` loop above?