This could also be moved to the loop above?