Should it be called in front of the for-loop instead?