added forEach call