add forEach public interface implementation