foreach doted