part of foreach