This should be inside the `foreach`