checking random products