adds foreach explanation