snippet for ice data validation