foreach data - debug